-
Home
-
WP 2FA – Two-factor authentication for WordPress
-
2.2.0
-
Code
-
Classes
- Backup_Codes
Total Complexity |
23 |
Dependencies |
5 |
Dependents |
4 |
Total lines |
262 |
Lines of code |
107 |
Logical lines of code |
51 |
Comment lines |
114 |
Methods |
11 |
Properties |
3 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
generate_codes() |
S |
54 |
5 |
20 |
validate_code() |
S |
59 |
5 |
14 |
codes_remaining_for_user() |
S |
67 |
3 |
7 |
run_ajax_generate_json() |
S |
55 |
1 |
21 |
get_login_attempts_instance() |
S |
71 |
2 |
6 |
check_backup_method() |
S |
68 |
2 |
7 |
add_backup_method() |
S |
60 |
1 |
14 |
init() |
S |
70 |
1 |
5 |
check_number_of_attempts() |
S |
79 |
1 |
3 |
delete_code() |
S |
68 |
1 |
7 |
get_method_name() |
S |
80 |
1 |
3 |